cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

find_package(LibSeawifs REQUIRED)
include_directories(${LibSeawifs_INCLUDE_DIRS})
set(LIBS ${LibSeawifs_LIBRARIES})

add_executable(l1aextract_seawifs
  main_l1aextract.c
  extract_sub.c
)

target_link_libraries(l1aextract_seawifs
  ${LIBS}
)

install (TARGETS l1aextract_seawifs DESTINATION bin)
